package com.dyj.service.impl;

import java.util.List;

import com.dyj.model.Province;
import com.dyj.service.MainService;
import com.dyj.service.ProvinceService;
import com.dyj.service.UserService;
import com.dyj.vo.ResultVO;
import com.dyj.vo.UserVO;

public class MainServiceImpl implements MainService {
	
	private ProvinceService provinceService;
	private UserService userService;

	public void setProvinceService(ProvinceService provinceService) {
		this.provinceService = provinceService;
	}

	public void setUserService(UserService userService) {
		this.userService = userService;
	}
	
	public List<Province> getAllProvince() {
		return provinceService.getAllProvince();
	}

	public ResultVO<UserVO> getUserInfo() {
		return userService.getUserInfo();
	}

}
